package com.example.experiment5.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ClockedIn {
    private Integer state;
    private Integer userId;
    private Integer clockId;
    private String name;
    private String college;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private String healthy;
    private String temperature;
    private String goOut;
    private String work;
    private String remark;
    private Integer num;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getClockId() {
        return clockId;
    }

    public void setClockId(Integer clockId) {
        this.clockId = clockId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getHealthy() {
        return healthy;
    }

    public void setHealthy(String healthy) {
        this.healthy = healthy;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getGoOut() {
        return goOut;
    }

    public void setGoOut(String goOut) {
        this.goOut = goOut;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "ClockedIn{" +
                "state=" + state +
                ", userId=" + userId +
                ", clockId=" + clockId +
                ", name='" + name + '\'' +
                ", college='" + college + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", healthy='" + healthy + '\'' +
                ", temperature='" + temperature + '\'' +
                ", goOut='" + goOut + '\'' +
                ", work='" + work + '\'' +
                ", remark='" + remark + '\'' +
                ", num=" + num +
                '}';
    }
}
